package com.sj.tensquare.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 管理员
 * 
 * @author sj
 * @email 1071842192@qq.com
 * @date 2020-12-02 09:43:11
 */
@Data
@ApiModel(value="User对象", description="")
@TableName("tb_admin")
public class AdminEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "自增id")
	@TableId
	private String id;

	@ApiModelProperty(value = "用户编号")
	private String uid;

	@ApiModelProperty(value = "用户名")
	private String loginname;

	@ApiModelProperty(value = "密码")
	private String password;

	@TableField(fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty(value = "登录时间")
	private Date updateTime;

	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@TableLogic
	@ApiModelProperty(value="逻辑删除,0表示删除,1表示正常")
	private Integer deleted;

}
